<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductGroupList.ascx.cs" Inherits="admin_webparts_Plug_ins_Product_ProductGroupList" %>
<%@ Import Namespace="NTTHAO.CommonWeb" %>
<%@ Import Namespace="NTTHAO.Web.BL.Product" %>

<div class="tip">
	<h1><%=LanguageUtility.GetLanguageText("PRODUCT_MANAGEMENT", Session)%></h1>
    <div style="display: block; width: 32px; height: 32px; float: right; position: relative; top: -27px;"><a title="<%=LanguageUtility.GetLanguageText("CLICK_RETURN", Session) %>" href="?type=<%=Request.QueryString["type"] %>"><img src="resources/images/Back.png" alt="" /></a></div>
</div>
<table border="1" cellpadding="0" cellspacing="0" class="grid" id="tbGrid">
    <tr>
        <th width="42px">#</th>
        <th><%=LanguageUtility.GetLanguageText("PRODUCT_GROUP", Session)%></th>
    </tr>
    <%if (this._GroupList != null) for (int i = 0; i < this._GroupList.Rows.Count; i++)
      {
          System.Data.DataRow row = this._GroupList.Rows[i]; %>
    <tr class="<%=(i%2==1?"even":"odd") %>">
        <td align="center"><%=i + 1 %></td>
        <td align="left"><a href="?type=<%=Request.QueryString["type"] %>&name=<%=Request.QueryString["name"] %>&action=viewgroup&g=<%=row[ProductGroup.ID__COLUMN_NAME] %>"><b><%=row[ProductGroup.NAME__COLUMN_NAME] %></b></a></td>
    </tr>
    <%} %>
</table>
